<?php

session_start();
//if( isset($_SESSION['last_key']) ) header("Location: weibolist.php");
include_once( 'include/config.php' );
include_once( 'include/weibooauth.php' );



$o = new WeiboOAuth( WB_AKEY , WB_SKEY  );

$keys = $o->getRequestToken();
$aurl = $o->getAuthorizeURL( $keys['oauth_token'] ,false , 'http://www.ute8.com/app/callback.php');

$_SESSION['keys'] = $keys;


?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>做自己最喜欢的漫画图--随心绘</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/div.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body { background:url(images/19154606-1-35U6.jpg) no-repeat center;}
</style>
</head>

<body>
<div id="box" style="position:relative;">
<div class="texts">
  <p>猜猜<span>黑边框</span>图中发生了什么事？</p>
  <p>如果是你，你会写上什么对白？</p>
  <p>很想发挥自己的想像能力？</p>
  <p>随心绘出一张属于你自己的图片，让它增加你的<span>微博人气</span>哦！</p>
</div>
<div style="margin-left:500px; position:absolute; top:360px;">
<a href="<?=$aurl?>" style="display:block; background:url(images/botton_gif_088.gif) no-repeat; width:173px; height:73px; text-align:center; line-height:45px; font-size:22px;"></a>
</div>
</div>
<div class="copyright">@2011 版权所有 <a href="http://www.apphao.com">晒购网</a>
<script language="javascript" type="text/javascript" src="http://js.users.51.la/4523243.js"></script>
<noscript><a href="http://www.51.la/?4523243" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/4523243.asp" style="border:none" /></a></noscript>
        <script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F9e1a52cd7a7d7e88aa128f1e873d120d' type='text/javascript'%3E%3C/script%3E"));
</script>
</div>
</body>
</html>

